package bgai.players;

import bgai.ai.minimax.Board;
import bgai.gamelogic.Backgammon;
import bgai.gamelogic.CheckerColor;
import bgai.gamelogic.EvaluationFunctions;
import bgai.players.ComputerPlayer.SearchType;

public class Door extends ComputerPlayer  {
	

	public Door(CheckerColor color, int maxDepth){
		super(color, maxDepth);
	}
	public Door(CheckerColor color, int maxDepth, SearchType type) {
		super(color, maxDepth, type);
	}
	
	@Override
	public double evaluate(Board board, boolean prevIsMaxNode) {
		return EvaluationFunctions.door((Backgammon) board, board.getBoardType(), prevIsMaxNode);
	}


	
}
